﻿using System;

namespace MyCode.Project.Domain.Businesses.FileManager
{
    /// <summary>
    /// 文件使用
    /// </summary>
    public class FileUse
    {
        /// <summary>
        /// 文件ID
        /// </summary>
        public Guid? Id { get; set; }

        /// <summary>
        /// 数据的id
        /// </summary>
        public Guid? DataId { get; set; }

        /// <summary>
        /// 文件地址
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        /// 文件顺序，0为主文件，其他则按顺序
        /// </summary>
        public int OrderNo { get; set; }

        /// <summary>
        /// 高
        /// </summary>
        public decimal Height { get; set; }

        /// <summary>
        /// 宽
        /// </summary>
        public decimal Width { get; set; }
    }
}
